package com.zyz.friend.test;

import com.zyz.common.core.model.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/test/nginx")
@Slf4j
public class NginxController {

    @GetMapping("/info")
    public Result<Void> info () {
        log.info("负载均衡测试...");
        return Result.ok();
    }

}
